package org.dream.ui.chart;

/**
 * 
 * @author qiuriyuchen E-mail:panpan_001@126.com
 */
public interface AxisModel {
	public void beforeDraw() ;
	/**
	 * 是否画网络线
	 * 
	 * @return true 画网络线 false不画网格线
	 */
	public abstract boolean isDrawGrid();

	/**
	 * 设置是否画网格线
	 * 
	 * @param drawGrid
	 *            true 画网络线 false不画网格线
	 */
	public abstract void setDrawGrid(boolean drawGrid);

	/**
	 * 设置刻度线长度
	 * 
	 * @return 刻度线长度(像素)
	 */

	public abstract int getTickLineLength();

	/**
	 * 设置刻度线长度
	 * 
	 * @param tickLength刻度线长度
	 *            (像素)
	 */
	public abstract void setTickLineLength(int tickLineLength);

	public void setChartModel(ChartModel chartModel);

	public ChartModel getChartModel();

	public abstract int getPixelYButtom();

	public abstract int getPixelXLeft();

	public abstract int getPixelXRight();

	public abstract int getPixelYTop();

}
